﻿
function validateAmount(source, arguments) {
    var input = $(".system-editor input#txtAmount");

    if (validateAmount_60pt(input)) {
        // 0, 0.00000 are not allowed.
        if (parseFloat(input.val()) == 0) {
            arguments.IsValid = false;
            return;
        }

        arguments.IsValid = true;
    }
    else {
        arguments.IsValid = false;
    }
}

$(document).ready(function () {

});
